package cn.itsource.itsource.mapper;

import cn.itsource.itsource.domain.User;
import cn.itsource.itsource.domain.Employee;
import cn.itsource.itsource.domain.User;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;


public interface UserMapper extends Mapper<User> {
   void register(User user);

    Employee login(@Param("username") String username, @Param("password") String password);

    User findByUserId(Long userId);

    void updateOfPhone(User user);

}
